<template>
	<statusbar-item tooltip="新建窗口" @click="openNewWindow">
		<i class="iconfont icon-statusbar-chuangjian center"></i>
	</statusbar-item>
</template>

<script setup lang="ts">
import { createWindow } from '@v/utils/ipc';
import statusbarItem from '@v/components/statusbar/statusbarItem/index.vue';

function openNewWindow() {
	createWindow([undefined]);
}
</script>
